﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EMC.VISITOR.Application
{
    [SugarTable(null, "Flow系統數據")]
    [BusinessVS]
    public class FlowSystem : EntityBase
    {
        /// <summary>
        /// 單据類型
        /// </summary>
        [SugarColumn(ColumnDescription = "單据類型", IsNullable =true)]
        public string order_type { get; set; }
        /// <summary>
        /// 申請單號
        /// </summary>
        [SugarColumn(ColumnDescription = "申請單號", IsNullable = true)]
        public string order_no { get; set; }
        /// <summary>
        /// 行號
        /// </summary>
        [SugarColumn(ColumnDescription = "行號", IsNullable = true)]
        public string line_no { get; set; }
        /// <summary>
        /// 申請日期
        /// </summary>
        [SugarColumn(ColumnDescription = "申請日期", IsNullable = true)]
        public string req_date { get; set; }

        [SugarColumn(ColumnDescription = "申請日期格式", IsNullable = true)]
        public DateTime? reqDate { get; set; } 
        /// <summary>
        /// 參觀日期開始
        /// </summary>
        [SugarColumn(ColumnDescription = "參觀日期開始", IsNullable = true)]
        public string start_date { get; set; }
        /// <summary>
        /// 參觀日期結束
        /// </summary>
        [SugarColumn(ColumnDescription = "參觀日期結束", IsNullable = true)]
        public string end_date { get; set; }

        /// <summary>
        /// 申請部門
        /// </summary>
        [SugarColumn(ColumnDescription = "申請部門", IsNullable = true)]
        public string req_dept { get; set; }

        /// <summary>
        /// 申請部門名稱
        /// </summary>
        [SugarColumn(ColumnDescription = "申請部門名稱", IsNullable = true)]
        public string req_dept_name { get; set; }
        /// <summary>
        /// 來賓類型
        /// </summary>
        [SugarColumn(ColumnDescription = "來賓類型", IsNullable = true)]
        public string cust_source { get; set; }
        /// <summary>
        /// 來訪公司名稱
        /// </summary>
        [SugarColumn(ColumnDescription = "來訪公司名稱", IsNullable = true)]
        public string visitor_comp_name { get; set; }
        /// <summary>
        /// 參觀地點
        /// </summary>
        [SugarColumn(ColumnDescription = "參觀地點", IsNullable = true)]
        public string visitor_addr { get; set; }
        /// <summary>
        /// 來訪原因
        /// </summary>
        [SugarColumn(ColumnDescription = "來訪原因", IsNullable = true)]
        public string visitor_reason { get; set; }
        /// <summary>
        /// 來訪人數
        /// </summary>
        [SugarColumn(ColumnDescription = "來訪人數", IsNullable = true)]
        public string guest_Count { get; set; }
        /// <summary>
        /// 參訪相關單位
        /// </summary>
        [SugarColumn(ColumnDescription = "參訪相關單位", IsNullable = true)]
        public string visitor_dept { get; set; }
        /// <summary>
        /// 支援事項
        /// </summary>
        [SugarColumn(ColumnDescription = "支援事項", IsNullable = true)]
        public string req_services { get; set; }
        /// <summary>
        /// 會議室名稱
        /// </summary>
        [SugarColumn(ColumnDescription = "會議室名稱", IsNullable = true)]
        public string meeting_room { get; set; }
        /// <summary>
        /// 會議室時間開始
        /// </summary>
        [SugarColumn(ColumnDescription = "會議室時間開始", IsNullable = true)]
        public string meeting_start { get; set; }
        /// <summary>
        /// 會議室時間結束
        /// </summary>
        [SugarColumn(ColumnDescription = "會議室時間結束", IsNullable = true)]
        public string meeting_end { get; set; }
        /// <summary>
        /// 來賓姓名
        /// </summary>
        [SugarColumn(ColumnDescription = "來賓姓名", IsNullable = true)]
        public string guest_name { get; set; }
        /// <summary>
        /// 來賓性別
        /// </summary>
        [SugarColumn(ColumnDescription = "來賓性別", IsNullable = true)]
        public string tguest_sex { get; set; }
        /// <summary>
        /// 職稱
        /// </summary>
        [SugarColumn(ColumnDescription = "職稱", IsNullable = true)]
        public string jobs_title { get; set; }
        /// <summary>
        /// 來賓所在公司
        /// </summary>
        [SugarColumn(ColumnDescription = "來賓所在公司", IsNullable = true)]
        public string guest_company { get; set; }
    }
}
